/**
 * Created by YAY on 2017/8/18.
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { StepsComponent} from './steps/steps.component';
import { SendhistoryComponent } from './sendhistory/sendhistory.component';

const routes: Routes = [
  { path: '', redirectTo: '/steps', pathMatch: 'full'},
  { path: 'steps', component: StepsComponent },
  { path: 'history', component: SendhistoryComponent }
];

@NgModule({
  imports: [ RouterModule.forRoot(routes)],
  exports: [ RouterModule]
})
export class AppRoutingModule {}
